<template>
<div id="testShow">

  <h1>{{title}}</h1>
</div>
</template>
<script type="text/javascript">
  export default {
    data () {
      return {
        title:"12345"
      };
    },
    mounted(e) {
      console.log('mounted:', this.$route);
    },
    methods: {

      details: function() {

        let this_ = this;
        let params = {};
        params.id = this_.$route.query.id;


        this.utils.request.editCmsPage(params, function (data) {

          console.log(data.data.title);
          if (data.data() != null) {
            this.title = data.title;
          }
        });

      },
      queryCmsPageType: function() {

        let this_ = this;
        let params = {};
        params.id = this_.$route.query.id;


        this.utils.request.editCmsPage(params, function (data) {

          console.log(data.data.title);
          if (data.data() != null) {
            this.title = data.title;
          }
        });

      }
    }
  }
</script>
<style scoped>
  .avatar-uploader .el-upload {
    border: 1px dashed #d9d9d9;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }
  .el-icon-plus{
    border: 1px dashed #d9d9d9;
  }
  .avatar-uploader .el-upload:hover {
    border-color: #2F4554;
  }
  .avatar-uploader-icon {
    font-size: 28px;
    color: #8c939d;
    width: 178px;
    height: 178px;
    line-height: 178px;
    text-align: center;
  }
  .avatar {
    width: 178px;
    height: 178px;
    display: block;
  }
  .dis input{
    background-color: #F5F7FA;
  }
  .selectshangjia{
    width: 400px;
    height: 32px;
    line-height: 32px;
    -webkit-appearance: none;
    background-color: #FFF;
    background-image: none;
    border-radius: 4px;
    border: 1px solid #DCDFE6;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    color: #606266;
    display: inline-block;
    font-size: inherit;
    outline: 0;
    padding: 0 15px;
    -webkit-transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    transition: border-color .2s cubic-bezier(.645,.045,.355,1);
    background-color: #F5F7FA;
    border-color: #E4E7ED;
    color: #C0C4CC;
    cursor: not-allowed;
  }
  .selectshangjia::-webkit-input-placeholder {
    color: #C0C4CC;
  }

  .selectshangjia::-ms-input-placeholder {
    color: #C0C4CC;
  }
</style>


